package service;

import dao.NewsDao;
import pojo.News;

public class NewsServiceImpl implements NewsService{
    private NewsDao dao;
    @Override
    public void save(News news) {
    dao.save(news);
    }

    public void setDao(NewsDao dao) {
        this.dao = dao;
    }
}
